package com.my.selectcoursesystem.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "selccourse")
public class SelectCourse {
    @Id
    @Column(name = "c_id")
    private String cid;
    @Column(name="c_name")
    private  String cname;
    @Column(name = "type")
    private String type;
    @Column(name = "college")
    private String college;
    @Column(name = "teacher_id")
    private String teacherid;
    @Column(name = "course_time")
    private String coursetime;
    @Column(name = "course_week")
    private String courseweek;
    @Column(name = "classroom")
    private String classroom;
    @Column(name = "credits")
    private Integer credits;
    @Column(name = "total_num")
    private Integer totalnum;
    @Column(name = "stu_id")
    private String stuid;
    @Column(name = "s_name")
    private String sname;
    @Column(name = "gender")
    private String gender;
    @Column(name = "age")
    private Integer age;
    @Column(name = "grade")
    private String grade;
    @Column(name = "major")
    private String major;
    @Column(name = "scollege")
    private String scollege;

    public SelectCourse(String cid, String cname, String type, String college, String teacherid, String coursetime, String courseweek, String classroom, Integer credits, Integer totalnum, String stuid, String sname, String gender, Integer age, String grade, String major, String scollege) {
        this.cid = cid;
        this.cname = cname;
        this.type = type;
        this.college = college;
        this.teacherid = teacherid;
        this.coursetime = coursetime;
        this.courseweek = courseweek;
        this.classroom = classroom;
        this.credits = credits;
        this.totalnum = totalnum;
        this.stuid = stuid;
        this.sname = sname;
        this.gender = gender;
        this.age = age;
        this.grade = grade;
        this.major = major;
        this.scollege = scollege;
    }

    public SelectCourse() {
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(String teacherid) {
        this.teacherid = teacherid;
    }

    public String getCoursetime() {
        return coursetime;
    }

    public void setCoursetime(String coursetime) {
        this.coursetime = coursetime;
    }

    public String getCourseweek() {
        return courseweek;
    }

    public void setCourseweek(String courseweek) {
        this.courseweek = courseweek;
    }

    public String getClassroom() {
        return classroom;
    }

    public void setClassroom(String classroom) {
        this.classroom = classroom;
    }

    public Integer getCredits() {
        return credits;
    }

    public void setCredits(Integer credits) {
        this.credits = credits;
    }

    public Integer getTotalnum() {
        return totalnum;
    }

    public void setTotalnum(Integer totalnum) {
        this.totalnum = totalnum;
    }

    public String getStuid() {
        return stuid;
    }

    public void setStuid(String stuid) {
        this.stuid = stuid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getScollege() {
        return scollege;
    }

    public void setScollege(String scollege) {
        this.scollege = scollege;
    }
}
